home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d22 / copyunq.bat < prev    next >
DOS Batch File  |  1991-12-03  |  672b  |  17 lines

  1. echo off
  2. cls
  3. rem  ------------------------------------------------------------------------
  4. rem     Program name: COPYUNQ.BAT  from Compute Sept. 85
  5. rem  
  6. rem       Command syntax:  COPYUNQ source drive letter   target drive letter
  7. rem                  ------No colons are necessary--------
  8. rem
  9. rem     Purpose:  Only unique files are copied from source to target disk
  10. rem  ------------------------------------------------------------------------
  11. %1:
  12. for %%f in (*.*) do if exist %2:%%f echo %%f Will not be copied
  13. pause Ready to begin copies..  Press enter to begin or FnBreak to end
  14. cls
  15. for %%f in (*.*) do if not exist %2:%%f copy %1:%%f %2:/v >NUL
  16. %2:
  17.